Language Reference - System Workareas

Home

SysFirstPage / SysLastPage

StatusSysFirstPage / SysLastPage
DefaultZero
Notes

These system workareas may be set to the inclusive range of pages to be printed in the next report. Their values default to zero, and are reset after each report.

If SysFirstPage is zero, the first page to be printed is one, otherwise pages are evaluated but not output until SysPage is greater than or equal to SysFirstPage.

If SysLastPage is zero, all pages are printed, subject to the value in SysFirstPage. If it is set to -1 or is less than SysPage, the current page is evaluated but not printed.

These workareas are also set by the ReportPageRange statement and by the ChoosePrinter dialog.

See Also